<#function fen_to_yuan money>
 <#if money != null>
    <#return money*1.0/100 />
 </#if>
 <#return ""/>
</#function>

<#function number_to_ymdhms date>
 <#if date != null>
   <#setting datetime_format="yyyy-MM-dd HH:mm:ss"/>
    <#return date?number_to_datetime/>
 </#if>
 <#return ""/>
</#function>

<#function number_to_ymd date>
 <#if date != null>
   <#setting datetime_format="yyyy-MM-dd"/>
    <#return date?number_to_datetime/>
 </#if>
 <#return ""/>
</#function>

<#function date_to_ymdhms date>
 <#if date?exists>
    <#return date?string('yyyy-MM-dd HH:mm:ss')/>
 </#if>
 <#return ""/>
</#function>

<#function date_to_ymd date>
 <#if date?exists>
    <#return date?string('yyyy-MM-dd')/>
 </#if>
 <#return ""/>
</#function>

<#function repayMethod repayMethod>
<#if repayMethod=='m'> 
		 <#return "按月分期" />
</#if> 
<#if repayMethod=='e'> 
		 <#return "到期还本息" />
</#if> 
	<#if repayMethod=='i'>
		 <#return "按月付息，到期还本" />
	</#if>
 <#return ""/>
</#function>
